package com.suning.sawp.service.impl.bi;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.suning.framework.dal.client.DalClient;

/**
 * 
 * 该类主要为了满足事务的功能
 * 
 * @author 13071602
 *
 */
@Repository
public class BatchUpdateService {

    @Autowired
    DalClient dalClient;

    @Transactional
    public void batchUpdate(String sqlId, Map<String, Object>[] batchValues) {
        dalClient.batchUpdate(sqlId, batchValues);
    }

}
